package com.dstz.sys.core.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dstz.base.dao.BaseDao;
import com.dstz.sys.core.model.SysConnectRecord;

/**
 * 公共业务关联记录 DAO接口
 * @author Jeff
 * @email for_office@qq.com
 * @time 2019-08-10 21:54:11
 */
public interface SysConnectRecordDao extends BaseDao<String, SysConnectRecord> {

	void removeBySourceId(@Param("sourceId")String sourceId,@Param("type") String type);

	void bulkCreate(List<SysConnectRecord> list);

	List<SysConnectRecord> getByTargetId(@Param("targetId")String id, @Param("type")String type);
	
}
